/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pkgModuloPrincipal.pkgConfiguracionRegional;

/**
 *
 * @author Administrador
 */
public class Constants {

    public static final Separator[] SEPARATOR_NUMERIC_SYMBOLS = {new Separator(".","Punto"),
                                                                 new Separator(",","Coma"), 
                                                                 new Separator(" ","Espacio")};
    public static final String SEP_STR_MILES_DEFAULT = SEPARATOR_NUMERIC_SYMBOLS[2].toString();
    public static final String SEP_STR_DECIMAL_DEFAULT = SEPARATOR_NUMERIC_SYMBOLS[0].toString();
    public static final Separator SEP_OBJ_MILES_DEFAULT = SEPARATOR_NUMERIC_SYMBOLS[2];
    public static final Separator SEP_OBJ_DECIMAL_DEFAULT = SEPARATOR_NUMERIC_SYMBOLS[0];
    public static final String SEP_DESCRIPTION_DEFAULT = "Sin Descripcion";
    public static final String NAME_XML_CONTEXT = "Context.xml";
    public static final String NAME_XSD_VALIDATION = "Context.xsd";
    public static final String PATH_XSD_VALIDATION = "/pkgModuloPrincipal/pkgConfiguracionRegional/Context.xsd";
    public static final String VALUE_INDEFINITE="No definido";

    public enum ENUM_LOCALE {

        LANGUAGE_ESPANIOL {

            @Override
            public String toString() {
                return "es";
            }
        },
        LANGUAGE_INGLES {

            @Override
            public String toString() {
                return "en";
            }
        },
        COUNTRY_ARGENTINA {

            @Override
            public String toString() {
                return "ARG";
            }
        },
        COUNTRY_US {

            @Override
            public String toString() {
                return "US";
            }
        }
    }

    public enum ENUM_XML_ELEMENTS {

        ROOT_ELEMENT {

            @Override
            public String toString() {
                return "context";
            }
        },
        LOCALE_ELEMENT {

            @Override
            public String toString() {
                return "locale";
            }
        },
        LANGUAGE_ELEMENT {

            @Override
            public String toString() {
                return "language";
            }
        },
        COUNTRY_ELEMENT {

            @Override
            public String toString() {
                return "country";
            }
        },
        DECIMAL_FORMAT_SEPARATORS_ELEMENT {

            @Override
            public String toString() {
                return "decimalFormatSeparators";
            }
        },
        DECIMAL_SEPARATOR_ELEMENT {

            @Override
            public String toString() {
                return "decimalSeparator";
            }
        },
        GROUPING_SEPARATOR_ELEMENT {

            @Override
            public String toString() {
                return "groupingSeparator";
            }
        }
    }
}
